package com.supconit.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
* <p>
    * 
    * </p>
*
* @author xjh
* @since 2019-08-17
*/
    @Data
        @EqualsAndHashCode(callSuper = false)
    @Accessors(chain = true)
    @TableName("vote_option_view")
    @ApiModel(value="OptionView对象", description="")
    public class OptionView implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String code;

            @ApiModelProperty(value = "内容")
    private String name;

            @ApiModelProperty(value = "投票类型")
    private String type;

    @ApiModelProperty(value = "投票图片")
    private String img;

    @ApiModelProperty(value = "所在学校")
    private String school;

    @ApiModelProperty(value = "投票描述")
    private String descript;

    private int flag;

    private int vnotes;
}
